package com.yq.day18._05objectapi._05getclass;

/**
 * @author 3307235355@qq.com
 * @since 2022/06/18 20:54
 */
public class Demo01 {
    public static void main(String[] args) {
        Demo01 d1 = new Demo01();
        Demo01 d2 = new Demo01();
        // System.out.println(d1.getClass().getName());
        // System.out.println(d1.getClass().getSimpleName());
        System.out.println(d1.getClass());
        System.out.println(d2.getClass());
        System.out.println(d1.getClass() == d2.getClass());
    }
}
